package trigger.utils;

import java.util.HashMap;

public class Lib 
{

private HashMap<String,String> date = new HashMap<String,String>();
private String name;
	
public Lib(String infos) {
    String[] as = infos.split(";");
    for(String eas:as) {
        String[] kv = eas.split("=");
        date.put(kv[0],kv[1]);
        
    }
    this.name=date.get("name");
}

public String getName()
{
return name;	
}

public String getInfo(String key)
{
return date.get(key);
}
	
}
